package cn.wizzer.app.user.modules.services;

import cn.wizzer.app.user.modules.models.UserAddress;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;
import cn.wizzer.framework.util.Result;

public interface UserAddressService extends BaseService<UserAddress> {
    Pagination listPage(Integer pageNumber, int pageSize, String userId);

    /**
     * 添加收获地址时校验格式
     *
     * @param userAddress
     * @return
     */
    Result validate(UserAddress userAddress);
}
